pCon.planner Plugin SDK  Version 8.16
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
X3g::Plugin::Room::Wall Class Reference

A Wall. More...

Inheritance diagram for X3g::Plugin::Room::Wall:
Inheritance graph
[legend]

Public Member Functions

 Wall (GeVec2d pStart, GeVec2d pEnd)
 Creates a wall within the current document. More...
 
 Wall (GeVec2d pStart, GeVec2d pEnd, double pLevelHeight)
 Creates a wall within the current document at given Level. More...
 
void GetEdges ([Out] GeVec2d% pRightStart,[Out] GeVec2d% pRightEnd,[Out] GeVec2d% pLeftStart,[Out] GeVec2d% pLeftEnd)
 Returns the edges of this wall. More...
 
String^ GetMaterial (WallSide pSide)
 Get the material if the wall More...
 
array< WallElement^ >^ GetWallElements ()
 Returns all wall elements of this wall. More...
 
System::Nullable< GeVec2d > CalculateCenterOfRoundWall ()
 Try to calculate center a round wall is rotated around. More...
 

Properties

String^  Id [get]
 Unqiue id of this wall within the current document. More...
 
GeVec2d Start [get, set]
 Returns the start point of this wall. More...
 
GeVec2d End [get, set]
 Returns the end point of this wall. More...
 
GeVec2d Middle [get, set]
 Returns the midpoint of this wall. More...
 
bool IsRoundWall [get]
 Returns true if the wall is rotated around a point. More...
 
int Level [get]
 Returns the level of this wall. More...
 
double Elevation [get]
 Returns the elevation of this wall. More...
 
double HeightStart [get, set]
 Returns the height at start point. More...
 
double HeightEnd [get, set]
 Returns the height at end point. More...
 
double Thickness [get, set]
 Returns the thickness of this wall. More...
 
WallSide InnerSide [get]
 Returns the inner side of this wall. More...
 
Wall^  WallAtStart [get, set]
 Returns the wall connected at start point. More...
 
Wall^  WallAtEnd [get, set]
 Returns the wall connected at end point. More...
 
- Properties inherited from X3g::Plugin::Room::RoomEntity
String^  Id [get]
 Unqiue id of the entity within the current document. More...
 

Detailed Description

A Wall.

Constructor & Destructor Documentation

X3g::Plugin::Room::Wall::Wall ( GeVec2d  pStart,
GeVec2d  pEnd 
)

Creates a wall within the current document.

X3g::Plugin::Room::Wall::Wall ( GeVec2d  pStart,
GeVec2d  pEnd,
double  pLevelHeight 
)

Creates a wall within the current document at given Level.

Member Function Documentation

System::Nullable< GeVec2d > X3g::Plugin::Room::Wall::CalculateCenterOfRoundWall ( )

Try to calculate center a round wall is rotated around.

Might return null if it fails to calculate one.

void X3g::Plugin::Room::Wall::GetEdges ( [Out] GeVec2d%  pRightStart,
[Out] GeVec2d%  pRightEnd,
[Out] GeVec2d%  pLeftStart,
[Out] GeVec2d%  pLeftEnd 
)

Returns the edges of this wall.

String X3g::Plugin::Room::Wall::GetMaterial ( WallSide  pSide)

Get the material if the wall

Parameters
pSideThe side of the wall, looking from start to end
Returns
material name
array< WallElement^ > X3g::Plugin::Room::Wall::GetWallElements ( )

Returns all wall elements of this wall.

Property Documentation

double X3g::Plugin::Room::Wall::Elevation
get

Returns the elevation of this wall.

GeVec2d X3g::Plugin::Room::Wall::End
getset

Returns the end point of this wall.

double X3g::Plugin::Room::Wall::HeightEnd
getset

Returns the height at end point.

double X3g::Plugin::Room::Wall::HeightStart
getset

Returns the height at start point.

String^ X3g::Plugin::Room::Wall::Id
get

Unqiue id of this wall within the current document.

WallSide X3g::Plugin::Room::Wall::InnerSide
get

Returns the inner side of this wall.

Considered from start to end point.

bool X3g::Plugin::Room::Wall::IsRoundWall
get

Returns true if the wall is rotated around a point.

int X3g::Plugin::Room::Wall::Level
get

Returns the level of this wall.

GeVec2d X3g::Plugin::Room::Wall::Middle
getset

Returns the midpoint of this wall.

This is relevant when we have round walls.

GeVec2d X3g::Plugin::Room::Wall::Start
getset

Returns the start point of this wall.

double X3g::Plugin::Room::Wall::Thickness
getset

Returns the thickness of this wall.

Wall^ X3g::Plugin::Room::Wall::WallAtEnd
getset

Returns the wall connected at end point.

Wall^ X3g::Plugin::Room::Wall::WallAtStart
getset

Returns the wall connected at start point.